﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BugCatcher.Models
{
    public class HomeViewModel
    {
    }

    public class WorkItem
    {
        public string Text { get; set; }
        public DateTime DateCreated { get; set; }
        public priority Type { get; set; }
    }

    public enum priority
    {
        High,
        Medium,
        Low,
    }

    public class BugClass : WorkItem
    {
        public string StepsToReproduce { get; set; }
        public BugClass(string Title, priority Type, string Steps){
            this.Text = Title;
            this.Type = Type;
            this.DateCreated = DateTime.Now;
            this.StepsToReproduce = Steps;
        }
      
    }

    public class TaskClass : WorkItem
    {
        public string Description { get; set; }
        
        public TaskClass(string Title, priority Type, string Description){
            this.Text = Title;
            this.Type = Type;
            this.DateCreated = DateTime.Now;
            this.Description = Description;
        }
       
    }



   

}